{%- for server_id,node_ip in zk_cluster -%}
    {%- if node_ip == zk_hostip -%}
{{ server_id }}
	{%- endif -%}
{%- endfor -%}